@extends('Layout/layout')
@section('yemian')
<style type="text/css">
	.e_css {
    background: url(/public/images/lift_li_02_02.gif) no-repeat;
    width: 179px;
    font-weight: bold;
    color: #000;
    z-index: 1;
	}
</style>
<script type="text/javascript">
	$(document).ready(function(){ 
	 
		document.getElementById("person").className = "e_css";
	}); 
</script>
<body class="mian_bj">
<div class="mian_top_01">
<div class="mian_top_r"></div>
<div class="mian_top_l"></div>
<div class="mian_top_c">
<ul>
<li><a href="{{ url('Personnel/Person/index') }}"><p>员工档案</p></a></li>
<li><a href="{{ url('Personnel/Leave/index') }}"><p>请假申请</p></a></li>
<li><a href="{{ url('Personnel/Adjust/index') }}"><p>职位调整申请</p></a></li>
<li><a href="{{ url('Personnel/Leaveoffice/index') }}"><p>离职申请</p></a></li>
@if(session('role') == 1)
<li><a href="{{ url('Personnel/Recruit/index') }}"><p>人员招聘</p></a></li>
<li><a href="{{ url('Personnel/Performance/index') }}"><p>绩效管理</p></a></li>
<li><a href="{{ url('Personnel/Socialinsurance/index') }}"><p>社保</p></a></li>
<li><a href="{{ url('Personnel/Money/index') }}"><p>工资管理</p></a></li>
@endif
<li><a href="{{ url('Personnel/Training/index') }}"><p>员工培训</p></a></li>
</ul>
</div>
<div class="mian_b">
	<form action="{{url('Personnel/Performance/update')}}" method="post">
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="mian_b_bg_xz">
			<tr>
				<td width="5%" class="mian_b_bg_lm">&nbsp;</td>
				<td colspan="3" class="mian_b_bg_lm">绩效编辑</td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<input type="hidden" name="PerformanceID" value="{{$PerformanceID}}">
				<td width="10%" valign="top">员工姓名：</td>
				<td width="60%">{{$info[0]['PersonName']}}</td>
				<td width="30%">&nbsp;</td>
			</tr>

<td>&nbsp;</td>
<td width="10%" valign="top">工作态度：</td>
<td width="60%">
<select class="input_01"  name="Attitude" >
    <option value="0" @if($info[0]['Attitude']==0) selected @else '' @endif>差</option>
    <option value="1" @if($info[0]['Attitude']==1) selected @else '' @endif>一般</option>
    <option value="2" @if($info[0]['Attitude']==2) selected @else '' @endif>良好</option>
    <option value="3" @if($info[0]['Attitude']==3) selected @else '' @endif>优秀</option>
</select>
 </td>
<td width="25%">&nbsp;</td>
</tr>  

<tr>
<td>&nbsp;</td>
<td width="10%" valign="top">工作效率：</td>
<td width="60%">
<select class="input_01"  name="Efficiency" >
    <option value="0" @if($info[0]['Efficiency']==0) selected @else '' @endif>差</option>
    <option value="1" @if($info[0]['Efficiency']==1) selected @else '' @endif>一般</option>
    <option value="2" @if($info[0]['Efficiency']==2) selected @else '' @endif>良好</option>
    <option value="3" @if($info[0]['Efficiency']==3) selected @else '' @endif>优秀</option>
</select>
 </td>
<td width="25%">&nbsp;</td>
</tr> 

				
			<tr>
				<td>&nbsp;</td>
				<td><input type="submit" value="提交"></td>
				<td>&nbsp;</td>
			</tr>
			{{ csrf_field()}}
		</table>
	</form>
</div>
</div>
</body>
@endsection